﻿@helper GetHtml(int eventId, string eventTitle, int width, int height) {

  <div style="width: @(width)px; text-align:center;" >
	  <iframe  src="http://www.eventbrite.com/calendar-widget?eid=@eventId" frameborder="0" height="@height" width="@width" marginheight="0" marginwidth="0" scrolling="no" >
	  </iframe>
	  <div style="font-family:Helvetica, Arial; font-size:10px; padding:5px 0 5px; margin:2px; width: @(width)px; text-align:center;" >
		  <a style="color:#ddd; text-decoration:none;" target="_blank" href="http://www.eventbrite.com/features?ref=ecal" >Event registration</a>
		  <span style="color:#ddd;">for @eventTitle powered by </span>
      <a style="color:#ddd; text-decoration:none;" target="_blank" href="http://www.eventbrite.com?ref=ecal" >Eventbrite</a>
	  </div>
  </div>
}
